package unwdmi.dto;

/**
 * @class DatabaseDTO
 * @author Michel
 * Data transfer object for holding DB configuration data
 */
public class DatabaseDTO {

	private String DBHost, DBName, DBUser, DBPassword;
	
	public DatabaseDTO(String host, String name, String user, String password) {
		this.setDBHost(host);
		this.setDBName(name);
		this.setDBUser(user);
		this.setDBPassword(password);
	};
	
	/**********************
	 *** SETTER METHODS ***
	 *********************/
	
	public void setDBHost(String host) {
		this.DBHost = host;
	};

	public void setDBName(String name) {
		this.DBName = name;
	};
	
	public void setDBUser(String user) {
		this.DBUser = user;
	};
	
	public void setDBPassword(String password) {
		this.DBPassword = password;
	};
	
	/**********************
	 *** GETTER METHODS ***
	 *********************/
	
	public String getDBHost() {
		return this.DBHost;
	};

	public String getDBName() {
		return this.DBName;
	};
	
	public String getDBUser() {
		return this.DBUser;
	};
	
	public String getDBPassword() {
		return this.DBPassword;
	};
}
